package com.niit.springbootshop.dao;

import com.niit.springbootshop.entity.Category;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper // 让接口能够被spring自动扫描到
public interface CategoryMapper {

    List<Category> findAll();
}
